package evolutionaryLoop.selectionProtocol;

import evolutionaryLoop.EvolutionaryParameters;
import evolutionaryLoop.Population;

public abstract class SelectionProtocol {
	
	protected EvolutionaryParameters parameters; 
	
	public SelectionProtocol(EvolutionaryParameters parameters){
		this.parameters = parameters; 
	}
	
	public int getPopulationSize(){
		return parameters.getPopulationSize(); 
	}
	
	public abstract Population selection(Population children, Population parents);

}
